public class nn
{
  public da a;
  public oc b;
  public boolean c = false;
  public boolean d = false;
  public boolean e = false;
  public float[] f = new float[16];
  public int g = 0;

  private float[] h = new float[4];

  public final void a(da paramda)
  {
    this.a = paramda;
    a();
    b();
  }

  protected void b() {
    float f1 = 0.05F;
    for (int i = 0; i <= 15; i++) {
      float f2 = 1.0F - i / 15.0F;
      this.f[i] = ((1.0F - f2) / (f2 * 3.0F + 1.0F) * (1.0F - f1) + f1);
    }
  }

  protected void a() {
    this.b = new oc(this.a);
  }

  public bf c() {
    return new of(this.a, this.a.l());
  }

  public boolean a(int paramInt1, int paramInt2)
  {
    int i = this.a.a(paramInt1, paramInt2);

    return (i == 2) || (i == 12);
  }

  public float a(long paramLong, float paramFloat)
  {
    int i = (int)(paramLong % 24000L);
    float f1 = (i + paramFloat) / 24000.0F - 0.25F;
    if (f1 < 0.0F) f1 += 1.0F;
    if (f1 > 1.0F) f1 -= 1.0F;
    float f2 = f1;
    f1 = 1.0F - (float)((Math.cos(f1 * 3.141592653589793D) + 1.0D) / 2.0D);
    f1 = f2 + (f1 - f2) / 3.0F;
    return f1;
  }

  public static nn a(int paramInt)
  {
    if (paramInt == 0) return new nn();
    if (paramInt == -1) return new mw();
    return null;
  }
}